/** **/
package com.zte.claa.inficombo.csa.app.dao.mysql.impl;


import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zte.claa.inficombo.share.model.logicresdev.LogicResDev;
import com.zte.claa.inficombo.share.model.logicresdev.LogicResDevQryCondition;



@Repository
public interface LogicResDevMapper {
	
	// 根据终端查询绑定的逻辑资源
	List<LogicResDev> selectByDeveui(@Param("deveui")String deveui) throws Exception;
	
	// 根据主键查询绑定的逻辑资源
	LogicResDev selectByKey(@Param("deveui")String deveui, @Param("resid")String resid) throws Exception;
	
	// 查询该逻辑资源绑定的终端
	List<LogicResDev> selectByRes(@Param("resid")String resid) throws Exception;
	
	// 条件查询
	List<LogicResDev> selectByCondition(@Param("cdt")LogicResDevQryCondition cdt) throws Exception;
	
}